<template>
	<view class="rzwrap">
		<image class="waitCheck" src="../../../static/images/wait.png"></image>
		<view class="waitTxt" v-if="checkStatus == 1">您提交的咨询师入驻资料正在审核中,请耐心等待</view>
		<view class="waitTxt" v-if="checkStatus == 3">
			<view>您提交的咨询师入驻申请未通过</view>
			<view class="reson">原因:{{failReson}}</view>
		</view>
		<!-- <button class="comBtn">去和心云App认证</button> -->
		<button class="comBtn" @tap="goAgainApply" v-if="checkStatus == 3">重新提交申请</button>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				archiveId:0,
				checkStatus:-1,
				failReson:''
			}
		},
		onLoad(option){
			let checkField = uni.getStorageSync('checkField');
			this.archiveId = option.archiveId;
			this.checkStatus = checkField.checkStatus;
			this.failReson = checkField.failReason;
		},
		onUnload(){
			uni.removeStorageSync('checkField');
		},
		methods:{
			goAgainApply(){
				uni.navigateTo({
					url:'zxsArchive?archiveId=44?fromPage=againApply'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.waitCheck{
		width: 740rpx;
		height: 740rpx;
		margin-top: 30rpx;
	}
	.waitTxt{
		padding: 0 30rpx;
		text-align: center;
		font-size: 26rpx;
		color: $pss-text-colora;
		margin-top: -220rpx;
		.reson{
			color: $pss-color-red;
			margin-top: 15rpx;
		}
	}
	.comBtn{
		width: 690rpx;
		margin-top:200rpx;
		font-size: 30rpx;
	}
</style>